//
//  ZXToOrderCell.m
//  qianke
//
//  Created by ZX on 2017/7/28.
//  Copyright © 2017年 ZX. All rights reserved.
//

#import "ZXToOrderCell.h"

@implementation ZXToOrderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setFrame:(CGRect)frame
{
    frame.size.height -= 3;
    [super setFrame:frame];
}
-(void)setZXToOrderModel1:(ZXToOrderModel *)ZXToOrderModel1{
    self.phoneLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.handPhone];
    self.orderNumLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.guestOrderNo];
//    self.dingdanzhuangtaiLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.vehicleStatus];
    self.sexLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.sex];
    self.nameLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.guestName];
    self.yixiangchexingLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.carModelName];
//    self.yixiangchexingLabel.text = @"暂无字段,需要添加";
    self.addressLabel.text = [NSString stringWithFormat:@"%@",ZXToOrderModel1.address];
    self.guestOrderStatus = ZXToOrderModel1.guestOrderStatus;
    self.dingdanzhuangtaiLabel.text = ZXToOrderModel1.guestOrderStatus;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
